Set SCL stretch of I2C slave
STRETCH_PROTECT_NUM | Configures the time period to release the SCL line from stretching to avoid timing violation. Usually it should be larger than the SDA setup time. Measurement unit: i2c_sclk |
SLAVE_SCL_STRETCH_EN | Configures to enable slave SCL stretch function. 0: Disable 1: Enable The SCL output line will be stretched low when reg_slave_scl_stretch_en is 1 and stretch event happens. The stretch cause can be seen in reg_stretch_cause. |
SLAVE_SCL_STRETCH_CLR | Configures to clear the I2C slave SCL stretch function. 0: No effect 1: Clear |
SLAVE_BYTE_ACK_CTL_EN | Configures to enable the function for slave to control ACK level. 0: Disable 1: Enable |
SLAVE_BYTE_ACK_LVL | Set the ACK level when slave controlling ACK level function enables. 0: Low level 1: High level |